package com.atguigu.ssyx.order.service;

import com.atguigu.ssyx.model.order.CartInfo;
import com.atguigu.ssyx.model.order.OrderInfo;
import com.atguigu.ssyx.vo.order.OrderConfirmVo;
import com.atguigu.ssyx.vo.order.OrderSubmitVo;
import com.baomidou.mybatisplus.extension.service.IService;


/**
 * ClassName: OrderInfoService
 * Package: com.ztguigu.ssyx.order.service
 * Description:
 *
 * @Author: 比特张
 * @Create: 2023/7/30 - 9:11
 * @Version: v1.0
 */
public interface OrderInfoService extends IService<OrderInfo> {
    //确认订单
    OrderConfirmVo confirmOrder();
    //生成订单
    Long submitOrder(OrderSubmitVo orderParamVo);

    //订单详情
    OrderInfo getOrderInfoById(Long orderId);
}
